package com.chatdating.entity.dto;

import com.chatdating.entity.Tag;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Where;

import java.util.List;


/**
 * 匹配的用户实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Where(clause = "deleted = 0") // 逻辑删除过滤
public class MatchDto {
    //主键
    private int id;
    //用户名字
    private String username;
    //年龄
    private Integer age;
    //性别
    private String gender;
    //地址
    private String address;
    //头像
    private String head;
    //自我介绍
    private String introduce;
    //个人标签
    private List<Tag> tags;
}
